﻿@model LeadVinaglue.Models.ViewPages.HomeViewModel
           
<div id="titlebox682">
	<div class="left">
		<span class="borderbottom">Tài Liệu Hot trong tuần</span>
	</div>
	<div class="right">
		<a href="/liet-ke-tai-lieu.0.0.html/page=0.vt=xem-nhieu-nhat">Xem nhiều</a>&nbsp;|
		<a href="/liet-ke-tai-lieu.0.0.html/page=0.vt=tai-nhieu-nhat">Download nhiều</a>&nbsp;|
		<a href="/liet-ke-tai-lieu.0.0.html/page=0.vt=yeu-thich-nhat">Yêu thích nhiều</a>
	</div>
	<div id="clear"></div>
</div>
<div id="listbook">
    @if (Model != null && Model.HotInWeek != null && Model.HotInWeek.Count > 0)
    {
        int i = 0;
	    <fieldset>
        @foreach (var item in Model.HotInWeek)
        {
            i++;
            <div id="pro">
			    <div class="document">
				    <a title="@item.Title" href="@item.LinkUrl"><img src="@item.ImageUrl" alt="@item.Title" width="105" height="125" border="0" /></a>
			    </div>
			    <a title="@item.Title" href="@item.LinkUrl"><h2>@item.Title</h2></a>
		    </div>
            if (i == 5)
            {
                i = 0;
                <div id="clear"></div>
            }
        }
        <div id="clear"></div>
		<p align="right"><a href="/liet-ke-tai-lieu.0.0.html/page=0.vt=moi-nhat" class="more">Xem thêm</a></p>
	</fieldset>
    }
</div>